x86/mm: fix EPT PoD locking to match the normal p2m case.
authorTim Deegan <Tim.Deegan@citrix.com>
Thu, 13 Jan 2011 15:46:13 +0000 (15:46 +0000)
committerTim Deegan <Tim.Deegan@citrix.com>
Thu, 13 Jan 2011 15:46:13 +0000 (15:46 +0000)
commit281e68cc3315b89eb4e7b83a7e54354ced7e8ff4
tree731b1d8a49823ae197ec162f9b8bf1c2e57a87e5
parentfb3420e086ef8cdd8e37f0ac6df60a16c746737e
x86/mm: fix EPT PoD locking to match the normal p2m case.

This recursive-locking bug was fixed in the main p2m code in
20269:fd3d5d66c446 (in October 2009) but has lurked unseen in
the EPT side since then.  Copy the fix across.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/hap/p2m-ept.c